﻿<%@ Page Language="C#" MasterPageFile="~/SiteAdmin/MasterPage.master" AutoEventWireup="true" CodeFile="ProductFeedback.aspx.cs" Inherits="ShopOnlineAdmin_ProductFeedback" Title="Untitled Page" Theme="DefaultSkin" %>
<%@ Register Src="../Controls/SearchFree/SearchFree.ascx" TagName="SearchFree" TagPrefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="contentPlaceHolderID" Runat="Server">
<table class="centerPanel" style="width:95%"><tr><td style="width:100%; vertical-align:top;">
    <div class="webPanelBorder">
        <div class="webPanelCaption">产品评论管理</div>
        <div class="webPanelContent">
        <uc1:SearchFree ID="searchFree" runat="server" OnQueryData="searchFree_OnQueryData" GridID="默认视图"
             GridViewID="gridView" FilePath="~/Controls/SearchFree/Datas/DataProductFeedback.xml"/>
        <ofcc:GridView ID="gridView" runat="server" AutoGenerateColumns="False" OnRowDataBound="gridView_RowDataBound" OnSplitPageIndexChange="gridView_SplitPageIndexChange">
            <Columns>
                <asp:TemplateField HeaderText="选择" >
                    <ItemTemplate>
                        <input id="FeedbackNodeID" name="FeedbackNodeID" type="radio" value='<%#DataBinder.Eval(Container.DataItem,"FeedbackNodeID")%>' />
                    </ItemTemplate>
                    <HeaderStyle Width="40px" />
                </asp:TemplateField>
                <asp:BoundField DataField="ProductCode" HeaderText="产品编号" />
                <asp:HyperLinkField DataNavigateUrlFormatString="Product.aspx?ProductID={0}" Target="_blank" DataNavigateUrlFields="ProductID" DataTextField="Subject" HeaderText="产品名称" />
			    <asp:BoundField DataField="CategoryID" HeaderText="产品类别" />
			    <asp:BoundField DataField="FreightCost" HeaderText="产品运费" />
			    <asp:BoundField DataField="EndDate" HeaderText="本期结束时间"  />
			    <asp:BoundField DataField="StandardCost" HeaderText="成本价格" />
			    <asp:BoundField DataField="ListPrice" HeaderText="销售价格" />
			    <asp:BoundField DataField="PromotionalPrice" HeaderText="促销价格" />
			    <asp:BoundField DataField="SalesCount" HeaderText="库存数量" />
			    <asp:BoundField DataField="Inventory" HeaderText="销售数量" />
			    <asp:BoundField DataField="Published" HeaderText="产品上架" />
			    <asp:BoundField DataField="AllowFeedback" HeaderText="允许评论" />
			    <asp:BoundField DataField="FeedbackSubject" HeaderText="评论标题" />
			    <asp:BoundField DataField="FeedbackCreateDate" HeaderText="评论时间" />
			    <asp:BoundField DataField="FeedbackUsername" HeaderText="评论用户" />
			    <asp:BoundField DataField="FeedbackIPAddress" HeaderText="用户IP" />
			    <asp:BoundField DataField="FeedbackContent" HeaderText="评论内容" ItemStyle-Width="350px" />
            </Columns>
        </ofcc:GridView>
        </div>
    </div>
    <div class="webPanelButtonArea">
        <ofcc:LinkButton ID="btnRemove" runat="server" CssClass="linkButton" ConfirmMessage="确定要删除吗?" OnClick="btnRemove_Click" >删除</ofcc:LinkButton>  
    </div>
</td></tr></table>
</asp:Content>



